+Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Remove confusing comment about X11.
+
+Fri Feb 2 19:21:23 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkwindow.c (gdk_propagate_shapes): Surround additional
+ regions with HAVE_SHAPE_EXT. (#50511, Eric Ding)
+
+Fri Feb 2 18:31:54 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkimage-x11.c: Remove definition of _XOPEN_SOURCE, since
+ it breaks things on BSD. If you want to compile GTK+ with
+ -ansi -pedantic, you should supply CPP_FLAGS=_XOPEN_SOURCE
+ when configuring, since GTK+ simply can't be "pure ANSI"
+ in the header files it uses. (#8170, Greg Hudson)
+
2001-02-02 Havoc Pennington <hp@redhat.com>
* gtk/gtkwindow.c: docs
+Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Remove confusing comment about X11.
+
+Fri Feb 2 19:21:23 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkwindow.c (gdk_propagate_shapes): Surround additional
+ regions with HAVE_SHAPE_EXT. (#50511, Eric Ding)
+
+Fri Feb 2 18:31:54 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkimage-x11.c: Remove definition of _XOPEN_SOURCE, since
+ it breaks things on BSD. If you want to compile GTK+ with
+ -ansi -pedantic, you should supply CPP_FLAGS=_XOPEN_SOURCE
+ when configuring, since GTK+ simply can't be "pure ANSI"
+ in the header files it uses. (#8170, Greg Hudson)
+
2001-02-02 Havoc Pennington <hp@redhat.com>
* gtk/gtkwindow.c: docs
+Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Remove confusing comment about X11.
+
+Fri Feb 2 19:21:23 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkwindow.c (gdk_propagate_shapes): Surround additional
+ regions with HAVE_SHAPE_EXT. (#50511, Eric Ding)
+
+Fri Feb 2 18:31:54 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkimage-x11.c: Remove definition of _XOPEN_SOURCE, since
+ it breaks things on BSD. If you want to compile GTK+ with
+ -ansi -pedantic, you should supply CPP_FLAGS=_XOPEN_SOURCE
+ when configuring, since GTK+ simply can't be "pure ANSI"
+ in the header files it uses. (#8170, Greg Hudson)
+
2001-02-02 Havoc Pennington <hp@redhat.com>
* gtk/gtkwindow.c: docs
+Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Remove confusing comment about X11.
+
+Fri Feb 2 19:21:23 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkwindow.c (gdk_propagate_shapes): Surround additional
+ regions with HAVE_SHAPE_EXT. (#50511, Eric Ding)
+
+Fri Feb 2 18:31:54 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkimage-x11.c: Remove definition of _XOPEN_SOURCE, since
+ it breaks things on BSD. If you want to compile GTK+ with
+ -ansi -pedantic, you should supply CPP_FLAGS=_XOPEN_SOURCE
+ when configuring, since GTK+ simply can't be "pure ANSI"
+ in the header files it uses. (#8170, Greg Hudson)
+
2001-02-02 Havoc Pennington <hp@redhat.com>
* gtk/gtkwindow.c: docs
+Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Remove confusing comment about X11.
+
+Fri Feb 2 19:21:23 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkwindow.c (gdk_propagate_shapes): Surround additional
+ regions with HAVE_SHAPE_EXT. (#50511, Eric Ding)
+
+Fri Feb 2 18:31:54 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkimage-x11.c: Remove definition of _XOPEN_SOURCE, since
+ it breaks things on BSD. If you want to compile GTK+ with
+ -ansi -pedantic, you should supply CPP_FLAGS=_XOPEN_SOURCE
+ when configuring, since GTK+ simply can't be "pure ANSI"
+ in the header files it uses. (#8170, Greg Hudson)
+
2001-02-02 Havoc Pennington <hp@redhat.com>
* gtk/gtkwindow.c: docs
+Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Remove confusing comment about X11.
+
+Fri Feb 2 19:21:23 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkwindow.c (gdk_propagate_shapes): Surround additional
+ regions with HAVE_SHAPE_EXT. (#50511, Eric Ding)
+
+Fri Feb 2 18:31:54 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkimage-x11.c: Remove definition of _XOPEN_SOURCE, since
+ it breaks things on BSD. If you want to compile GTK+ with
+ -ansi -pedantic, you should supply CPP_FLAGS=_XOPEN_SOURCE
+ when configuring, since GTK+ simply can't be "pure ANSI"
+ in the header files it uses. (#8170, Greg Hudson)
+
2001-02-02 Havoc Pennington <hp@redhat.com>
* gtk/gtkwindow.c: docs
+Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
+
+ * configure.in: Remove confusing comment about X11.
+
+Fri Feb 2 19:21:23 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkwindow.c (gdk_propagate_shapes): Surround additional
+ regions with HAVE_SHAPE_EXT. (#50511, Eric Ding)
+
+Fri Feb 2 18:31:54 2001 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkimage-x11.c: Remove definition of _XOPEN_SOURCE, since
+ it breaks things on BSD. If you want to compile GTK+ with
+ -ansi -pedantic, you should supply CPP_FLAGS=_XOPEN_SOURCE
+ when configuring, since GTK+ simply can't be "pure ANSI"
+ in the header files it uses. (#8170, Greg Hudson)
+
2001-02-02 Havoc Pennington <hp@redhat.com>
* gtk/gtkwindow.c: docs
fi ;;
esac
],[
-# Currently we always use X11 on those systems where we run configure...
if test "x$gdktarget" = "xx11" ; then
gdk_windowing='
#define GDK_WINDOWING_X11'
#include <config.h>
-/* gcc -ansi -pedantic on GNU/Linux causes warnings and errors
- * unless this is defined:
- * warning: #warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"
- */
-#ifndef _XOPEN_SOURCE
-# define _XOPEN_SOURCE 1
-#endif
-
#include <stdlib.h>
#include <sys/types.h>
gdk_window_set_mwm_hints (window, &hints);
}
+#ifdef HAVE_SHAPE_EXT
+
/*
* propagate the shapes from all child windows of a GDK window to the parent
* window. Shamelessly ripped from Enlightenment's code
g_free (spans);
}
+#endif /* HAVE_SHAPE_EXT */
+
void
gdk_window_set_child_shapes (GdkWindow *window)
{